<template>
    <Button size="small" @click="handleOpen">链接</Button>
    <Modal ref="modalRef" />
</template>

<script setup lang="ts">
import {ref} from "vue";
import {Button} from "ant-design-vue";
import Modal from "./Modal.vue";

const modalRef = ref<any>("");
const handleOpen = () => {
    modalRef.value.show();
};
</script>
